rmdir /q /s %~dp0\editor\fonts
mkdir %~dp0\editor\fonts
copy /Y %~dp0resource\fonts %~dp0editor\fonts
if exist %~dp0resource\userFonts (
   echo 'user fonts exist!'
) else (
md %~dp0resource\userFonts
)

copy /Y %~dp0resource\userFonts %~dp0editor\fonts
set BISHENGPATH=%~dp0editor

.\bin\tools.exe -type=64 -config=config.yml 

exit;